
using System;

namespace ZZQFrameWork
{
	//全局事件
	public enum GlobalEvents : int
	{
		ChangeHp = 1, //角色血量改变
		ChangeLevel,  //角色等级改变
		Death,        //角色死亡
		GetItem,      //角色获得道具
	
	}

	static public class VersionEvent
	{
		public readonly static string AddMD5Content = "VersionEvent.AddMD5Content";
		public readonly static string GetContentMD5 = "VersionEvent.GetContentMD5";
	}


    static public class Events
    {	
        // 登陆事件 
        static public class LoginEvent
        {
			public readonly static string OnLoginResult = "LoginEvent.OnLoginResult";
			public readonly static string OnLogin = "LoginEvent.OnLogin";
			public readonly static string OnCreateCharacter = "LoginEvent.OnCreateCharacter";
			public readonly static string OnDelCharacter = "LoginEvent.DelCharacter";
			public readonly static string OnStartGame = "LoginEvent.OnStartGame";
			public readonly static string OnChooseServer = "LoginEvent.OnChooseServer";
			public readonly static string OnChangeServer = "LoginEvent.OnChangeServer";
			public readonly static string OnGetRandomName = "LoginEvent.OnGetRandomName";
        }


	//背包角色事件 
	static public class CharacterEvent
	{
		public readonly static string OnAddItem = "CharacterEvent.OnAddItem";
		public readonly static string OnUpdateItem = "CharacterEvent.OnUpdateItem";
		public readonly static string OnRemoveItem = "CharacterEvent.OnRemoveItem";
		public readonly static string OnWearEquip = "CharacterEvent.OnWearEquip";
		public readonly static string OnDropEquip = "CharacterEvent.OnDropEquip";
		public readonly static string OnAttrUpdate = "CharacterEvent.OnAttrUpdate";
		public readonly static string OnUnLockItem = "CharacterEvent.OnUnLockItem";

	    public static readonly string OnTrashEnter = "CharacterEvent.OnTrashEnter";//进入垃圾模式
        public static readonly string OnTrashExit = "CharacterEvent.OnTrashExit";//退出垃圾模式

        public static readonly string OnGoodsTipsShow = "CharacterEvent.OnGoodsTipsShow";
        public static readonly string OnRefreshPlayerInfoPanel = "CharacterEvent.OnRefreshPlayerInfoPanel";
        public static readonly string OnEquipInfoPanelShowItemByEquipType = "CharacterEvent.OnEquipInfoPanelShowItemByEquipType";


        public static readonly string OnSkillPanelTipsShow = "CharacterEvent.OnSkillPanelTipsShow";
	}

        /// <summary>
        /// 角色事件
        /// </summary>
        static public class RoleEvent
        {
            public static readonly string OnRoleLevelUp = "RoleEvent.OnRoleLevelUp";
            public static readonly string OnLearnSkill = "RoleEvent.OnLearnSkill";//学习技能
            public static readonly string OnAttrPointChanged = "RoleEvent.OnAttrPointChanged";//属性点改变
            public static readonly string OnUpdateGold = "RoleEvent.OnUpdateGold";//增加金币
            public static readonly string OnUpdateExp = "RoleEvent.OnUpdateExp";
            public static readonly string OnUpdateLv = "RoleEvent.OnUpdateLv";
            public static readonly string OnUpdateHp = "RoleEvent.OnUpdateHp";
            public static readonly string OnUpdateMp = "RoleEvent.OnUpdateMp";
            public static readonly string OnRoleDeath = "RoleEvent.OnRoleDeath";

            public static readonly string OnAttack = "RoleEvent.OnAttack";
        }

        static public class MonsterEvent
        {
            public static readonly string OnUpdateHp = "MonsterEvent.OnUpdateHp";
            public static readonly string OnMonsterDeath = "MonsterEvent.OnMonsterDeath";
        }

		//任务事件
        static public class TaskEvent
        {
            //public readonly static string NPCInSight = "TaskEvent.NPCInSight";
            //public readonly static string CloseToNPC = "TaskEvent.CloseToNPC";
            //public readonly static string LevelWin = "TaskEvent.LevelWin";
            //public readonly static string GuideDone = "TaskEvent.GuidDone";
            //public readonly static string LeaveFromNPC = "TaskEvent.LeaveFromNPC";

            //public readonly static string AcceptTask = "TaskEvent.AcceptTask";
            //public readonly static string TalkEnd = "TaskEvent.TalkEnd";
            //public readonly static string ShowRewardEnd = "TaskEvent.ShowRewardEnd";

            //public readonly static string GoToNextTask = "TaskEvent.GoToNextTask";
            //public readonly static string AcceptNewTask = "TaskEvent.AcceptNewTask";

            //public readonly static string NPCSetSign = "TaskEvent.OnNPCSetSign";

            //public readonly static string CheckNpcInRange = "TaskEvent.CheckNpcInRange";


            public readonly static string ShowTask = "TaskEvent.ShowTask";
            public readonly static string AcceptTask = "TaskEvent.AcceptTask";
            public readonly static string UpdateTask = "TaskEvent.UpdateTask";
            public readonly static string FinishTask = "TaskEvent.FinishTask";
            public static readonly string FinishTaskToNpc = "TaskEvent.FinishTaskToNpc";
        }

		// OtherEvent
		static public class OtherEvent
		{
			public readonly static string OnEvent1 = "OtherEvent.OnEvent1";
			public readonly static string OnEvent2 = "OtherEvent.OnEvent2";
			public readonly static string OnEvent3 = "OtherEvent.OnEvent3";

			public readonly static string OnThink = "OnThink";
			public readonly static string CallTeammate = "CallTeammate";
			public readonly static string OnChangeWeapon = "OtherEvent.OnChangeWeapon";

			public readonly static string MainCameraComplete = "OtherEvent.MainCameraComplete";
			public readonly static string MapIdChanged = "OtherEvent.MapIdChanged";
			public readonly static string ChangeDummyRate = "OtherEvent.ChangeDummyRate";
			public readonly static string ResetDummyRate = "OtherEvent.ResetDummyRate";
			public readonly static string ClientGM = "OtherEvent.ClientGM";
			public readonly static string SecondPast = "OtherEvent.OneSecondPast";
			public readonly static string Withdraw = "OtherEvent.Withdraw";
			public readonly static string DiamondMine = "OtherEvent.DiamondMine";
			public readonly static string CheckCharge = "OtherEvent.CheckCharge";
			public readonly static string BossDie = "OtherEvent.BossDie";
			public readonly static string Charge = "OtherEvent.Charge";
		}

    }
}


